//
//  HollyPhoneManager.h
//  hollyphone
//
//  Created by hollycrm on 2023/3/11.
//

#import <Foundation/Foundation.h>
#import "PhoneStatus.h"
#import <UIKit/UIKit.h>
#import "wrapper.h"
NS_ASSUME_NONNULL_BEGIN


#define hollyPhoneRegStateChange @"hollyPhoneRegStateChangeNotification"

#define hollyPhoneCallTimeChange @"hollyPhoneCallTimeChange"

@interface HollyPhoneManager : NSObject
@property(nonatomic,strong) PhoneStatus *phoneStatus;
@property(nonatomic,strong) UIImage *bgImage;
@property(nonatomic,strong) UIImage *logoImg;
//@property(nonatomic,strong) CPPWrapper *wrapper;
@property(nonatomic,strong) NSString *deviceId;
@property(nonatomic,strong) NSString *managerId;
@property(nonatomic,strong) NSString *cId;

+ (instancetype)shareManager;
-(instancetype)init NS_UNAVAILABLE;
-(void)call:(NSDictionary *)param succ:(void(^)(NSString * message))success fail:(void(^)(NSString* message)) failed;

-(void)unregister;

-(void)callServiceNum:(NSDictionary *)param logoImg:(nonnull UIImage *)img succ:(void(^)(NSString * message))success fail:(void(^)(NSString* message)) failed;

-(void)testSucc:(void(^)(NSString * message))success fail:(void(^)(NSString* message)) failed;

@end

NS_ASSUME_NONNULL_END
